<?php
/**
 * The following variables are available in this template:
 * - $this: the CrudCode object
 */
?>
<?php
echo "<?php\n
\$this->breadcrumbs = array(
	\$model->label(2) => array('index'),
	GxHtml::valueEx(\$model),
);\n";
?>


$this->menu = array(
		array('label'=>'Back', 'url'=>array($this->backurl),
            'linkOptions'=> array('class' => 'glyphicons circle_arrow_left tb-gray'),
        ),
        array('label'=>'Edit', 'url'=>array('update','id'=>$model->id),
            'linkOptions'=> array('class' => 'glyphicons pencil tb-gray'),
        ),
        array('label'=>'Delete', 'url'=>array('delete','id'=>$model->id),
            'linkOptions'=> array('class' => 'glyphicons circle_remove tb-gray','onClick'=>'return confirm("Do you really want to delete this account ?")'),
        ),
	);

?>


<?php echo '<?php'; ?> $this->widget('zii.widgets.CDetailView', array(
	'data' => $model,
	'attributes' => array(
<?php
foreach ($this->tableSchema->columns as $column)
		echo $this->generateDetailViewAttribute($this->modelClass, $column) . ",\n";
?>
	),
)); ?>
